package com.gopay.bis.citic.fund.impl;

import com.gopay.bis.citic.fund.operation.CiticFundQuery;
import com.gopay.common.FundResult;
import com.gopay.common.domain.fund.vo.PageData;
import com.gopay.common.exception.GopayException;
import com.gopay.remote.bank.ICertHelperFund;
import com.gopay.remote.bank.businesses.FundService;

/**
 * 基金处理与监管行交易数据
 * @CiticFundServiceImpl.java
 * @author dong-wang5@hnari.com
 * @2016年7月20日 上午9:59:22  www.gopay.com.cn Inc.All rights reserved.
 */
public class CiticFundServiceImpl implements FundService {

	private ICertHelperFund citicFundCerthelper;
	private CiticFundQuery citicFundQuery;

	@Override
	public boolean verify(PageData pageData) throws GopayException {
		return citicFundCerthelper.verify(pageData);
	}

	@Override
	public FundResult send(PageData pageData) throws GopayException {
		return citicFundQuery.send(pageData);
	}

	public void setCiticFundCerthelper(ICertHelperFund citicFundCerthelper) {
		this.citicFundCerthelper = citicFundCerthelper;
	}

	public void setCiticFundQuery(CiticFundQuery citicFundQuery) {
		this.citicFundQuery = citicFundQuery;
	}

}
